.weak default_exception_handler
.balign 8, 0
.global default_exception_handler

.weak software_handler
.balign 8, 0
.global software_handler

.weak timer_handler
.balign 8, 0
.global timer_handler

.weak external_handler
.balign 8, 0
.global external_handler

.weak wdt_vector_handler
.balign 8, 0
.global wdt_vector_handler

.weak gp_timer_vector_handler
.balign 8, 0
.global gp_timer_vector_handler

.weak boot_spi_vector_handler
.balign 8, 0
.global boot_spi_vector_handler

.weak gp_spi_vector_handler
.balign 8, 0
.global gp_spi_vector_handler

.weak mailbox_vector_handler
.balign 8, 0
.global mailbox_vector_handler

.weak uart_vector_handler
.balign 8, 0
.global uart_vector_handler

.weak i2c_vector_handler
.balign 8, 0
.global i2c_vector_handler

.weak gbe0_vector_handler
.balign 8, 0
.global gbe0_vector_handler

.weak gbe1_vector_handler
.balign 8, 0
.global gbe1_vector_handler

.weak usb0_vector_handler
.balign 8, 0
.global usb0_vector_handler

.weak usb1_vector_handler
.balign 8, 0
.global usb1_vector_handler

.weak default_vector_handler
.balign 8, 0
.global default_vector_handler

.option norvc
.weak __mtvec_clint_vector_table
.balign 1024, 0
.global __mtvec_clint_vector_table

__mtvec_clint_vector_table:

IRQ_0:
        j default_exception_handler
IRQ_1:
        j default_vector_handler
IRQ_2:
        j default_vector_handler
IRQ_3:
        j software_handler
IRQ_4:
        j default_vector_handler
IRQ_5:
        j default_vector_handler
IRQ_6:
        j default_vector_handler
IRQ_7:
        j timer_handler
IRQ_8:
        j default_vector_handler
IRQ_9:
	j default_vector_handler
IRQ_10:
        j default_vector_handler
IRQ_11:
        j external_handler
IRQ_12:
        j default_vector_handler
IRQ_13:
        j default_vector_handler
IRQ_14:
        j default_vector_handler
IRQ_15:
        j default_vector_handler
IRQ_16:
        j wdt_vector_handler
IRQ_17:
        j gp_timer_vector_handler
IRQ_18:
        j boot_spi_vector_handler
IRQ_19:
        j gp_spi_vector_handler
IRQ_20:
        j mailbox_vector_handler
IRQ_21:
        j uart_vector_handler
IRQ_22:
        j i2c_vector_handler
IRQ_23:
        j gbe0_vector_handler
IRQ_24:
        j gbe1_vector_handler
IRQ_25:
        j usb0_vector_handler
IRQ_26:
        j usb1_vector_handler
IRQ_27:
        j default_vector_handler
IRQ_28:
        j default_vector_handler
IRQ_29:
        j default_vector_handler
IRQ_30:
        j default_vector_handler
IRQ_31:
        j default_vector_handler
IRQ_32:
        j default_vector_handler
IRQ_33:
        j default_vector_handler
IRQ_34:
        j default_vector_handler
IRQ_35:
        j default_vector_handler
IRQ_36:
        j default_vector_handler
IRQ_37:
        j default_vector_handler
IRQ_38:
        j default_vector_handler
IRQ_39:
        j default_vector_handler
IRQ_40:
        j default_vector_handler
IRQ_41:
        j default_vector_handler
IRQ_42:
        j default_vector_handler
IRQ_43:
        j default_vector_handler
IRQ_44:
        j default_vector_handler
IRQ_45:
        j default_vector_handler
IRQ_46:
        j default_vector_handler
IRQ_47:
        j default_vector_handler
IRQ_48:
        j default_vector_handler
IRQ_49:
        j default_vector_handler
IRQ_50:
        j default_vector_handler
IRQ_51:
        j default_vector_handler
IRQ_52:
        j default_vector_handler
IRQ_53:
        j default_vector_handler
IRQ_54:
        j default_vector_handler
IRQ_55:
        j default_vector_handler
IRQ_56:
        j default_vector_handler
IRQ_57:
        j default_vector_handler
IRQ_58:
        j default_vector_handler
IRQ_59:
        j default_vector_handler
IRQ_60:
        j default_vector_handler
IRQ_61:
        j default_vector_handler
IRQ_62:
        j default_vector_handler
IRQ_63:
        j default_vector_handler
IRQ_64:
        j default_vector_handler
IRQ_65:
        j default_vector_handler
IRQ_66:
        j default_vector_handler
IRQ_67:
        j default_vector_handler
IRQ_68:
        j default_vector_handler
IRQ_69:
        j default_vector_handler
IRQ_70:
        j default_vector_handler
IRQ_71:
        j default_vector_handler
IRQ_72:
        j default_vector_handler
IRQ_73:
        j default_vector_handler
IRQ_74:
        j default_vector_handler
IRQ_75:
        j default_vector_handler
IRQ_76:
        j default_vector_handler
IRQ_77:
        j default_vector_handler
IRQ_78:
        j default_vector_handler
IRQ_79:
        j default_vector_handler
IRQ_80:
        j default_vector_handler